package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.PageResult;

import java.util.List;
import java.util.Map;

public interface EmpService extends IService<Emp> {

    PageResult selectAll(EmpQueryParam param);

    void updateEmp(Emp emp);

    void add(Emp emp);

    Emp selectById(Integer id);

    List<Map<String, Integer>> selectByGender();

    List<Map<String, Integer>> selectByEmp();
}
